home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 2448 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: columba.udac.uu.se!sabik!m93kma
  2. From: m93kma@sabik.tdb.uu.se (Kristofer Maad)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: ClipRegions with MUI?
  5. Date: 31 Jan 1996 13:21:14 GMT
  6. Organization: A poorly-installed InterNetNews site
  7. Message-ID: <4enqca$26re@columba.udac.uu.se>
  8. NNTP-Posting-Host: sabik.tdb.uu.se
  9. X-Newsreader: TIN [version 1.2 PL2]
  10.  
  11. Hi all...
  12.  
  13. I'm writing a B-Spline editor class for MUI, and I am trying to make
  14. the rendering clip against the object borders. In the mDraw() routine,
  15. I make a new region with NewRegion() and add a rectangle to it with
  16. OrRectRegion(), and then I do a InstallClipRegion(), but then the
  17. computer hangs everytime - what's wrong!!? Am I not allowed to install
  18. clip regions at any time?
  19.  
  20. I know there's an example of clipping in the RKRMs, and I have looked
  21. at the C source, but I can't see what's wrong with my code.
  22.  
  23. By the way, I use AmigaE v3.2 registered (and yes, I think I know how
  24. to program in E).
  25.  
  26. If anybody has something on this, please...! Everything else (well
  27. nearly, anyway) works perfectly now.
  28.  
  29. /Kristofer
  30.  
  31. --
  32. Name:   Kristofer Maad           | "The satisfaction in making a 'crash-
  33. Snail:  Stureg. 12A, 3tr.        |  proof' system screw up completely
  34.         753 14 Uppsala           |  almost makes it worthwhile."  /Kris
  35. Phone:  018-51 11 44             |
  36. E-Mail: m93kma@student.tdb.uu.se |   <http://www.update.uu.se/~kris/>
  37.